<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=\, initial-scale=1.0">
    <title>Document</title>
</head>

<body>

</body>

</html>


<script>

    // 给你两个非负整数 low 和 high 。请你返回 low 和 high 之间（包括二者）奇数的数目。
    var countOdds = function (low, high) {
        if (low % 2 === 1) --low
        if (high % 2 === 1) ++high
        return (high - low) / 2
    };
</script>